﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mode
{
    /// <summary>
    /// 分页数据信息
    /// </summary>
    public class PageList<T> where T : class 
    {
        /// <summary>
        /// 数据行
        /// </summary>
        public IList<T> DataList
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public System.Data.DataTable Data
        {

            get;
            set;
        }
       
        /// <summary>
        /// 每页显示大小
        /// </summary>
        public int PageSize
        {
            get;
            set;
        }
        /// <summary>
        /// 当前页数
        /// </summary>
        public int PageIndex
        {
            get;
            set;
        }
        /// <summary>
        /// 总页数
        /// </summary>
        public int Total
        { get; set; }
    }
}
